import request from '@/utils/request'

// 查询操作日志列表
export function list(data) {
  return request({
    url: '/system/operate/log/query',
    method: 'POST',
    data,
  })
}

// 删除操作日志
export function delOperlog(operIds) {
  return request({
    url: '/system/operate/log/delete',
    method: 'post',
    data: { operIds },
  })
}

// 清空操作日志
export function cleanOperlog() {
  return request({
    url: '/system/operate/log/clean',
    method: 'post',
  })
}
